/**
 * Project: jiangyao
 * <p>
 * File Created at 2020/8/18
 * <p>
 * Copyright 2015 www.showstart.com Croporation Limited.
 * All rights reserved.
 * <p>
 * This software is the confidential and proprietary information of
 * Taihe Music Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with www.showstart.com.
 */
package com.jiangyao.model.dto.backend;

import com.jiangyao.model.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 讲师DTO
 *
 * @author: yangyongchaun
 * @create: 2020年08月18日 14:07
 */
@Data
@ApiModel("讲师DTO")
public class LecturerDTO implements BaseDTO {

	@ApiModelProperty("讲师ID")
	@NotNull(message = "讲师ID不能为空", groups = {Edit.class, Delete.class})
	private Integer lecturerId;

	/**
	 * 姓名
	 */
	@ApiModelProperty("姓名")
	@NotNull(message = "姓名不能为空", groups = {Add.class, Edit.class})
	@NotEmpty(message = "姓名不能为空", groups = {Add.class, Edit.class})
	private String lecturerName;

	/**
	 * 电话
	 */
	@ApiModelProperty(value = "电话", example = "13800000000")
	@NotNull(message = "电话不能为空", groups = {Add.class, Edit.class})
	@NotEmpty(message = "电话不能为空", groups = {Add.class, Edit.class})
	private String lecturerPhone;

	/**
	 * 头像
	 */
	@ApiModelProperty(value = "头像", example = "/img/user_head_default.png")
	@NotNull(message = "姓名不能为空", groups = {Add.class, Edit.class})
	@NotEmpty(message = "姓名不能为空", groups = {Add.class, Edit.class})
	private String lecturerPhoto;

	/**
	 * 简介
	 */
	@ApiModelProperty("简介")
	private String lecturerDesc;

	/**
	 * 状态 1 在职 0离职
	 */
	@ApiModelProperty(value = "状态 1 在职 0离职", example = "1")
	private Integer status;
}
